<?php
	include('public.php');
	
	if(empty($_POST)==false){
		db_update('product');
	}
	$date = db_find('product','id='.$_GET['id']);

	include('template/header.html');
	include('template/product_update.html');
	include('template/footer.html');